package com.java.polymorphism.test_1;

/**
 * @author luzhikun
 * @date 2020/12/2- 16:38
 */
public class Student extends Person {
    long number;
    int math;
    int english;
    int computer;

    public Student() {
    }

    public Student(String name, char sex, int age, long number, int math, int english, int computer) {
        super(name, sex, age);
        this.number = number;
        this.math = math;
        this.english = english;
        this.computer = computer;
    }

    public double aver() {
        return aver();
    }

    public int max() {
        return math;
    }

    public int min() {
        return min();
    }

    public String toString() {
        return "我是学生";
    }
}
